package com.jyh.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jyh.blog.dto.TalkBackDTO;
import com.jyh.blog.dto.TalkDTO;
import com.jyh.blog.entity.Talk;
import com.jyh.blog.vo.ConditionVO;
import com.jyh.blog.vo.PageResult;
import com.jyh.blog.vo.TalkVO;

import java.util.List;

/**
 * (Talk)表服务接口
 *
 * @author jyh
 * @since 2023-02-13 16:26:44
 */
public interface TalkService extends IService<Talk> {

    PageResult<TalkBackDTO> talkBackList(ConditionVO conditionVO);

    TalkDTO getTalkById(String talkId);

    void saveOrUpdateTalk(TalkVO talkVO);

    void deleteTalk(String talkId);

    TalkBackDTO getTalkBackById(String talkId);

    List<String> talkHomeList();

    void talkLike(String talkId);

    PageResult<TalkDTO> talkList();
}

